package com.falcon.core.domain;

import com.swan.mybatis.condition.Condition;
import lombok.Data;

/** 单表分页查询基类
 * @author zongf
 * @since 2023-05-07
 **/
@Data
public abstract class AbsPageQuery {

    /** 页码: 从1开始 */
    private Integer page = 1;

    /** 每页大小: 默认10 */
    private Integer pageSize = 10;

    public abstract Condition toCondition();

}
